
project(LandGraphic_lg)

file(GLOB INCS inc/*.h)
file(GLOB HEADERS src/*.h)
file(GLOB SOURCES src/*.c)
add_library(liblg
    ${INCS}
    ${SOURCES}
    ${HEADERS}
    )

target_include_directories(liblg PUBLIC src)
target_include_directories(liblg PUBLIC inc)
if(BUILD_SHARED_LIBS)
    target_compile_definitions(liblg PUBLIC LG_EXPORTS)
endif()